package com.fast.alden.admin.service;

import com.fast.alden.data.model.SysApiResource;

import java.util.List;

/**
 * API资源管理缓存服务类
 */
public interface SysApiResourceCacheService {
    String CACHE_KEY_SYS_API_RESOURCE_LIST = "FastAlden:SysApiResource:list";
    String CACHE_KEY_SYS_API_RESOURCE_ROLE_LIST = "FastAlden:SysApiResourceRole:list";
    String CACHE_KEY_SYS_USER_SYS_API_RESOURCE_LIST = "FastAlden:SysUser:SysApiResourceList";

    List<SysApiResource> list();

    void setList(List<SysApiResource> list);

    void flushApiResourceList();


}
